* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

.app-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding-bottom: 70px;
  overflow-y: auto;
}

/* 底部导航 */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #999;
  font-size: 12px;
  transition: color 0.3s;
}

.nav-item img {
  width: 24px;
  height: 24px;
  margin-bottom: 4px;
}

.nav-item.active {
  color: #4CAF50;
}

/* 页面容器 */
.page-container {
  padding: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

/* 卡片样式 */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: #4CAF50;
  color: #fff;
}

.btn-primary:hover {
  background: #45a049;
}

.btn-secondary {
  background: #f0f0f0;
  color: #333;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

/* 加载状态 */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4CAF50;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.empty-state img {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 16px;
  margin-bottom: 8px;
}

/* 天气卡片 */
.weather-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.weather-icon {
  font-size: 32px;
}

.weather-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.weather-info p {
  font-size: 14px;
  color: #666;
}

/* POI列表 */
.poi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poi-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.poi-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.poi-item.selected {
  border: 2px solid #4CAF50;
}

.poi-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.poi-info p {
  font-size: 14px;
  color: #666;
}

.poi-distance {
  font-size: 14px;
  color: #4CAF50;
  font-weight: bold;
}

/* 地图容器 */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}

/* 音乐列表 */
.music-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.music-item {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.music-cover {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4CAF50, #8BC34A);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
}

.music-cover img {
  width: 30px;
  height: 30px;
}

.music-info {
  flex: 1;
}

.music-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.music-info p {
  font-size: 12px;
  color: #999;
}

.music-actions {
  display: flex;
  gap: 8px;
}

.music-actions button {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f0f0f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.music-actions button:hover {
  background: #e0e0e0;
}

.music-actions button img {
  width: 18px;
  height: 18px;
}

/* 足迹列表 */
.session-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.session-item {
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s;
}

.session-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.session-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.session-date {
  font-size: 14px;
  color: #666;
}

.session-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
}

.session-status.completed {
  background: #e8f5e9;
  color: #4CAF50;
}

.session-stats {
  display: flex;
  gap: 24px;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.stat-label {
  font-size: 12px;
  color: #999;
}

/* 响应式 */
@media (max-width: 600px) {
  .page-container {
    padding: 16px;
  }
  
  .page-title {
    font-size: 20px;
  }
}
